﻿
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBll
{
    /// <summary>
    ///  康复理疗接口
    /// </summary>
    public interface ISosConebLL
    {    /// <summary>
         /// 新增  康复理疗
         /// </summary>
         /// <param name="t">数据信息</param>
         /// <returns>返回值受影响行数</returns>

        Task<int> AddAnync(SosCone sosCone);

        /// <summary>
        /// 显示查询分页
        /// </summary>
        /// <param name="name">项目名称</param>
        /// <param name="index">页数</param>
        /// <param name="size">条数</param>
        /// <returns>通过查询姓名名称获取一条 数据</returns>
        Dto ShowSosCone(string? name,int index,int size);

        /// <summary>
        /// 逻辑删除
        /// </summary>
        /// <param name="id">主键id</param>
        /// <returns>通过id查询一条数据</returns>
        Task<int> DeleteState(int id);

        /// <summary>
        /// 批量修改
        /// </summary>
        /// <param name="idsstaings">主键id</param>
        /// <returns>通过id查询一条数据</returns>
        Task<int> Pstate(string idsstaings);

        /// <summary>
        /// 导出
        /// </summary>
        /// <returns>返回受影响行数</returns>
        List<SosCone> GetSosCones();
    }
}
